package com.ihr360.commons.model.type;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.ihr360.commons.model.annotation.EnumData;
import com.ihr360.commons.serializer.jackson.EnumDataSerializer;

/**
 * @author Stone.Shi
 * @description 公积金的子类型
 * @date 2018-05-11 17:25:02.
 */
@EnumData
@JsonSerialize(using = EnumDataSerializer.class)
public enum HFSubType {

    /**
     * 包含：基本住房公积金；补充住房公积金
     */
    FIXED("法定"),
    /**
     * 其他自定义的公积金类型
     */
    CUSTOM("自定义");

    String title;

    HFSubType(String title) {
        this.title = title;
    }

    public String getTitle() {
        return title;
    }
}
